﻿using System.Collections.Generic;
using System.Linq;
using Acaweb.Common;
using System.ServiceModel.Activation;
using Acaweb.Model.Entities;
using Acaweb.Servicios.Contracts;
using Components = Acaweb.Componentes.Contracts;

namespace Acaweb.Servicios.Services
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class CompetenciasService : ICompetenciasService
    {
        Components.ICompetenciasService _CompetenciaComponent = AppCtx.Resolve<Components.ICompetenciasService>();
        public List<Competencias> GetInicial()
        {
            return _CompetenciaComponent.GetInicial().ToList();
        }

        public List<Competencias> GetFinal()
        {
            return _CompetenciaComponent.GetFinal().ToList();
        }
    }
}